package com.dongzw.spring.component;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Dog {

	@Autowired
	private Food food;

	public void talk() {
		System.out.println("you are talking about dog");
	}
}
